//
//  PuzzleViewController.h
//  Days
//
//  Created by lanou3g on 16/1/8.
//  Copyright © 2016年 dss. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ImageView.h"



@interface PuzzleViewController : UIViewController

@property(nonatomic,strong)UIImageView *tempimageView;
@property(nonatomic,strong)ImageView *imgView;

@property(nonatomic,strong)NSMutableArray *imageArray;


///上移
-(void)upchange:(UIImageView *)image;
///左
-(void)leftchange:(UIImageView *)image;
///右
-(void)rightchange:(UIImageView *)image;
///下
-(void)downchange:(UIImageView *)image;

///分割照片
-(void)SeparateImage:(UIImage*)image ByX:(int)x andY:(int)y cacheQuality:(float)quality;


@end
